import java.awt.*;

public class Blood {
    private int x = 150, y = 150;
    private int width = 20, height = 20;
    private boolean live = true;
    
    public boolean isLive() {
        return live;
    }
    
    public void setLive(boolean live) {
        this.live = live;
    }
    
    // Boundary untuk bonus darah
    public Rectangle getRect() {
        return new Rectangle(x, y, width, height);
    }
    
    /**
     * Gambar bonus darah sebagai lingkaran merah
     */
    public void draw(Graphics g) {
        if (!live) return;
        Color c = g.getColor();
        g.setColor(Color.RED);
        g.fillOval(x, y, width, height);
        g.setColor(c);
    }
}